///
/// @DIR_PATH：lib/http
/// @TIME：2024/6/6 21:00
/// @AUTHOR：starr
/// 创建数据基类，提前将返回的数据解析成固定的格式
class BaseModel<T> {
  T? data;
  int? errorCode;
  String? errorMsg;

  BaseModel.fromJson(dynamic json){
    data = json['data'];
    errorCode = json['errorCode'];
    errorMsg = json['errorMsg'];
  }
}